package drds.binlog.parse.driver.packets.server;

import drds.binlog.common.Authors;
import drds.common.Author;

import java.net.SocketAddress;
import java.util.ArrayList;
import java.util.List;

@Author(name = Authors.LI_YANG)
public class ResultSetPacket
{

    private SocketAddress sourceAddress;
    private List<FieldPacket> fieldDescriptorList = new ArrayList<FieldPacket>();//fieldDescriptorList
    private List<String> fieldValueList = new ArrayList<String>();//fieldValueList

    public List<FieldPacket> getFieldDescriptorList()
    {
        return fieldDescriptorList;
    }

    public void setFieldDescriptorList(List<FieldPacket> fieldDescriptorList)
    {
        this.fieldDescriptorList = fieldDescriptorList;
    }
    //

    public List<String> getFieldValueList()
    {
        return fieldValueList;
    }

    public void setFieldValueList(List<String> fieldValueList)
    {
        this.fieldValueList = fieldValueList;
    }

    public SocketAddress getSourceAddress()
    {
        return sourceAddress;
    }

    public void setSourceAddress(SocketAddress sourceAddress)
    {
        this.sourceAddress = sourceAddress;
    }


}
